﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace _20170206_Game_1_1
{
    abstract class GameObject
    {
        private int x;
        private int y;
        private char symbol;

        public GameObject(int x, int y, char symbol)
        {
            X = x;
            Y = y;
            Symbol = symbol;
        }

        public int X
        {
            get { return x; }
            protected set { x = value; }
        }

        public int Y
        {
            get { return y; }
            protected set { y = value; }
        }

        public char Symbol
        {
            get { return symbol; }
            protected set { symbol = value; }
        }

        public abstract void Draw();


    }
}
